package org.dromara.genealogy.domain.vo;

import cn.hutool.core.lang.Assert;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.genealogy.domain.GeName;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * 功能描述: 家族树结构
 *
 * @author Administrator
 * @version 1.0
 * @date 2025/10/12 15:15
 */
@Data
public class NameTreeVo {

    private Long id;

    private String name;

    private String avatar;

    @Translation(type = TransConstant.OSS_ID_TO_URL,mapper = "avatar")
    private String image_url;

    private List<NameTreeVo> children;

    private List<GeName> wifeList;

}
